package com.sky.zzh.today.date;

import android.content.Context;


/**
 * A Labeler that displays days using DayTimeLayoutViews.
 */
public class DayDateLabeler extends DayLabeler {

    /**
     * The format string that specifies how to display the day. Since this class uses a
     * DayTimeLayoutView, the format string should consist of two strings separated by a space.
     */
    public DayDateLabeler(String formatString) {
        super(formatString);
    }

    @Override
    public TimeView createView(Context context, boolean isCenterView) {
        //设置字体的大小
        return new DayTimeLayoutView(context, isCenterView, 20, 18, 1.0f);
    }
}